<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet" href="../css/bootstrap4.5.min.css">
    <link rel="stylesheet" href="../css/public.css">
    <title>图文列表</title>
    <style>
        .imgText_list_cnt{
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
        }
        .imgText_list_cnt li{
            flex:0 0 25%;
            max-width: 25%;
        }
        
        .imgText_list_img{
            padding: 0 14.65%;
            width: 100%;
            height: 180px;
        }
        .imgText_list_img img{
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        .imgText_list_text{
            padding: 20px 0;
            text-align: center;
        }
        .imgText_list_text h3{
            font-size: var(--f_text);
            line-height: var(--l_text);
            color: var(--f_text);
        }
        .imgText_list_text p{
            font-size: var(--f_describe);
            line-height: var(--l_describe);
            color: var(--c_subtitle);
        }
        
        @media (max-width:1400px) {
            .imgText_list_img{
                height: 130px;
            }
        }
        @media (max-width:1200px) {
            .imgText_list_img{
                height: 110px;
            }
        }
        @media (max-width:991px) {
            .imgText_list_img{
                height: 92px;
            }
        }
        @media (max-width:768px) {
            .imgText_list_cnt{
                padding: 0 10px;
            }
            .imgText_list_cnt li{
                flex:0 0 50%;
                max-width: 50%;
            }
            .imgText_list_text{
                padding: 10px 0;
                text-align: center;
            }
            .imgText_list_img{
                height: 160px;
                padding: 0 10px;
            }
        }
        @media (max-width:575px) {
            .imgText_list_img{
                height: 136px;
            }
        }
        
        @media (max-width:450px) {
            .imgText_list_img{
                height: 100px;
            }
        }
        
        /* 第二种 6个*/
        .imgText_list.number_layout_2 li{
            flex:0 0 16.66%;
            max-width: 16.66%;
        }
        .imgText_list.number_layout_2 .imgText_list_img{
            height: 120px;
        }
        @media (max-width:1700px) {
            .imgText_list.number_layout_2 .imgText_list_img{
                height: 106px;
            }
        }
        @media (max-width:1600px) {
            .imgText_list.number_layout_2 .imgText_list_img{
                height: 100px;
            }
        }
        @media (max-width:1500px) {
            .imgText_list.number_layout_2 .imgText_list_img{
                height: 94px;
            }
        }
        @media (max-width:1400px) {
            .imgText_list.number_layout_2 .imgText_list_cnt li{
                flex:0 0 33.33%;
                max-width: 33.33%;
            }
            .imgText_list.number_layout_2 .imgText_list_img{
                height: 172px;
            }
        }
        @media (max-width:1200px) {
            .imgText_list.number_layout_2 .imgText_list_img{
                height: 147px;
            }
        }
        @media (max-width:991px) {
            .imgText_list.number_layout_2 .imgText_list_img{
                height: 120px;
            }
        }
        @media (max-width:768px) {
            .imgText_list.number_layout_2 .imgText_list_cnt li{
                flex:0 0 50%;
                max-width: 50%;
            }
            .imgText_list.number_layout_2 .imgText_list_img{
                height: 160px;
                padding: 0 10px;
            }
        }
        @media (max-width:575px) {
            .imgText_list.number_layout_2 .imgText_list_img{
                height: 136px;
            }
        }
        
        @media (max-width:450px) {
            .imgText_list.number_layout_2 .imgText_list_img{
                height: 100px;
            }
        }
        
        /* 第三种 5个*/
        .imgText_list.number_layout_3 li{
            flex:0 0 20%;
            max-width: 20%;
        }
        .imgText_list.number_layout_3 .imgText_list_img{
            height: 143px;
        }
        @media (max-width:1700px) {
            .imgText_list.number_layout_3 .imgText_list_img{
                height: 127px;
            }
        }
        @media (max-width:1600px) {
            .imgText_list.number_layout_3 .imgText_list_img{
                height: 120px;
            }
        }
        @media (max-width:1500px) {
            .imgText_list.number_layout_3 .imgText_list_img{
                height: 112px;
            }
        }
        @media (max-width:1400px) {
            .imgText_list.number_layout_3 .imgText_list_cnt li{
                flex:0 0 33.33%;
                max-width: 33.33%;
            }
            .imgText_list.number_layout_3 .imgText_list_img{
                height: 172px;
            }
        }
        @media (max-width:1200px) {
            .imgText_list.number_layout_3 .imgText_list_img{
                height: 147px;
            }
        }
        @media (max-width:991px) {
            .imgText_list.number_layout_3 .imgText_list_img{
                height: 120px;
            }
        }
        @media (max-width:768px) {
            .imgText_list.number_layout_3 .imgText_list_cnt li{
                flex:0 0 50%;
                max-width: 50%;
            }
            .imgText_list.number_layout_3 .imgText_list_img{
                height: 160px;
                padding: 0 10px;
            }
        }
        @media (max-width:575px) {
            .imgText_list.number_layout_3 .imgText_list_img{
                height: 136px;
            }
        }
        
        @media (max-width:450px) {
            .imgText_list.number_layout_3 .imgText_list_img{
                height: 100px;
            }
        }

        /* 第四种 3个 小于原布局的较为特殊*/
        .imgText_list.number_layout_4 li{
            flex:0 0 33.33%;
            max-width: 33.33%;
        }
        
        .imgText_list.number_layout_4 .imgText_list_img{
            height: 180px;
            padding: 0;
            text-align: center;
        }
        .imgText_list.number_layout_4 .imgText_list_img img{
            width: 340px;
        }
        
        /* 小于原布局开始变成响应式的图片的宽=350px*x个数+左右边距40px */
        @media (max-width:1090px) {
            .imgText_list.number_layout_4 .imgText_list_img img{
                width: 100%;
            }
            .imgText_list.number_layout_4 .imgText_list_img{
                padding: 0 10px;
            }
        }
        @media (max-width:991px) {
            .imgText_list.number_layout_4 .imgText_list_img{
                height: 164px;
            }
        }
        @media (max-width:768px) {
            .imgText_list.number_layout_4 .imgText_list_cnt li{
                flex:0 0 50%;
                max-width: 50%;
            }
            .imgText_list.number_layout_4 .imgText_list_img{
                height: 160px;
                padding: 0 10px;
            }
        }
        @media (max-width:575px) {
            .imgText_list.number_layout_4 .imgText_list_img{
                height: 136px;
            }
        }
        
        @media (max-width:450px) {
            .imgText_list.number_layout_4 .imgText_list_img{
                height: 100px;
            }
        }
        /* 第五种 2个*/
        .imgText_list.number_layout_5 li{
            flex:0 0 50%;
            max-width: 50%;
        }
        .imgText_list.number_layout_5 .imgText_list_img{
            height: 180px;
            text-align: center;
        }
        .imgText_list.number_layout_5 .imgText_list_img img{
            width: 340px;
        }
        /* 小于原布局开始变成响应式的图片的宽=350px*x个数+左右边距40px */
        /* 两个更特殊在768px开始不是740px */
        @media (max-width:768px) {
            .imgText_list.number_layout_5 .imgText_list_img img{
                width: 100%;
            }
            .imgText_list.number_layout_5 .imgText_list_img{
                height: 160px;
                padding: 0 10px;
            }
        }
        @media (max-width:575px) {
            .imgText_list.number_layout_5 .imgText_list_img{
                height: 136px;
            }
        }
        
        @media (max-width:450px) {
            .imgText_list.number_layout_5 .imgText_list_img{
                height: 100px;
            }
        }
        /* 第六种 1个*/
        .imgText_list.number_layout_6 li{
            flex:0 0 100%;
            max-width: 100%;
        }
        .imgText_list.number_layout_6 .imgText_list_img img{
            width: 340px;
        }
        .imgText_list.number_layout_6 .imgText_list_img{
            height: 180px;
            text-align: center;
        }
        /* 小于原布局开始变成响应式的图片的宽=350px*x个数+左右边距40px */
        @media (max-width:390px) {
            .imgText_list.number_layout_6 .imgText_list_img img{
                width: 100%;
            }
            /* 高度不用变 */
            .imgText_list.number_layout_6 .imgText_list_img{
                padding: 0 10px;
            }
        }
    </style>
</head>

<body>
    <div class="imgText_list modular title_center number_layout_1">
        <div class="public_title">
            <h2>OUR SERVICE</h2>
            <p>我们的服务</p>
        </div>
        <ul class="imgText_list_cnt">
            <li>
                <div class="imgText_list_img">
                    <img src="https://17683552.s61i.faiusr.com/4/AD0I4Ki3CBAEGAAgwJ7r3QUoyvH0kgMw1AI4tAE.png.webp" alt="">
                </div>
                <div class="imgText_list_text">
                    <h3>音像制作</h3>
                    <p>Audiovisual production</p>
                </div>
            </li>
            <li>
                <div class="imgText_list_img">
                    <img src="https://17683552.s61i.faiusr.com/2/AD0I4Ki3CBACGAAg7_C33QUogNqLyAUw1AI4tAE.jpg.webp" alt="">
                </div>
                <div class="imgText_list_text">
                    <h3>演出视频</h3>
                    <p>Performance video</p>
                </div>
            </li>
            <li>
                <div class="imgText_list_img">
                    <img src="https://17683552.s61i.faiusr.com/2/AD0I4Ki3CBACGAAg7_C33QUo-LeTLzDUAji0AQ.jpg.webp" alt="">
                </div>
                <div class="imgText_list_text">
                    <h3>影视制作</h3>
                    <p>Film Production</p>
                </div>
            </li>
            <li>
                <div class="imgText_list_img">
                    <img src="https://17683552.s61i.faiusr.com/2/AD0I4Ki3CBACGAAg7_C33QUo-LeTLzDUAji0AQ.jpg.webp" alt="">
                </div>
                <div class="imgText_list_text">
                    <h3>影视制作</h3>
                    <p>Film Production</p>
                </div>
            </li>
            <li>
                <div class="imgText_list_img">
                    <img src="https://17683552.s61i.faiusr.com/2/AD0I4Ki3CBACGAAg7_C33QUo-LeTLzDUAji0AQ.jpg.webp" alt="">
                </div>
                <div class="imgText_list_text">
                    <h3>影视制作</h3>
                    <p>Film Production</p>
                </div>
            </li>
            <li>
                <div class="imgText_list_img">
                    <img src="https://17683552.s61i.faiusr.com/2/AD0I4Ki3CBACGAAg7uC33QUopKDKrwMw1AI4tAE.jpg.webp" alt="">
                </div>
                <div class="imgText_list_text">
                    <h3>商业摄影</h3>
                    <p>Commercial Photography</p>
                </div>
            </li>
        </ul>
    </div>
</body>

</html>